# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=uhttpmock
pkgver=0.5.1
pkgrel=1
pkgdesc="HTTP web service mocking project for projects which use libsoup"
url="https://gitlab.com/uhttpmock/uhttpmock"
depends=('glib2' 'libsoup')
license=('LGPL2.1')
arch=(x86_64)
source=(https://tecnocode.co.uk/downloads/uhttpmock/$pkgname-$pkgver.tar.xz)
sha256sums=('a6a34a011db142a98473b492039c84468d575f416689484f1f82a84927f17798')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make install DESTDIR="$pkgdir"
}
